<?php
    
    include_once dirname(__FILE__).'/db.php';
    $id=$_GET["uid"];

    $con=dbConnect('sib');

    $sql="UPDATE user SET VerificationCode=1 WHERE IDUser='$id'";
     if (!mysql_query($sql, $con)) {
             die('Error: ' . mysql_error());
         }
         else header('Location: ../index.php?err=7');
    mysql_close($con);
?>
